package cn.edu.sdjzu.xg.eagle.entity;

public class Teacher {
    private String name;
    private String no;
    private Long id;
    private Department department;

    public Teacher(String name, String no, Long id) {
        this.name = name;
        this.no = no;
        this.id = id;
    }

    public Teacher(String name, String no) {
        this.name = name;
        this.no = no;
    }
    public Teacher(Long id, String name, Department department) {
        this.id = id;
        this.name = name;
        this.department = department;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Department getDepartment() {
        return department;
    }
    public void setDepartment(Department department) {
        this.department = department;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "name='" + name + '\'' +
                ", no='" + no + '\'' +
                '}';
    }


}
